package massobjects;

import framework.Force;
import simulation.Assembly;
import simulation.Simulation;


/**
 * Class definition for a fixed mass object.
 * 
 * @author David Howdyshell, Zack Hopping
 * 
 */
public class FixedMass extends BaseMass {

    /**
     * Constructor for fixed mass class.
     * 
     * @param id - id number of this mass instance
     * @param x - initial x position
     * @param y - initial y position
     */
    public FixedMass (int id, double x, double y) {
        super(id, x, y);
    }

    @Override
    public void applyForce (Force f) {
    }

    @Override
    public void update (Simulation sim, Assembly assem, double dt) {
    }

    @Override
    public double getMass () {
        // Fixed mass has no real "mass," not taken into account for center of
        // mass calculation
        return 0;
    }

}
